Set Alert
Request to be POSTed to uri : /NorenWClientTP/SetAlert
Request Details :
Parameter Name | Possible value | Description |
---|---|---|
jData* | Should send json object with fields in below list | |
jKey* | Key Obtained on login success. |
Json Fields | Possible value | Description |
---|---|---|
uid* | Logged in User Id | |
tsym* | Trading symbol | |
exch* | Exchange Segment | |
ai_t* | Alert Type | |
validity* | DAY or GTT | DAY or GTT |
d* | Data to be compared with LTP | |
remarks | Any message Entered during order entry. | |
sms_flag | true or false | SMS flag |
email_flag | true or false | Email flag |
push_flag | true or false | Push flag |
Response Details :
Response data will have below fields.
Json Fields | Possible value | Description |
---|---|---|
stat | alert success or failure indication. | |
request_time | This will be present only in a successful response. | |
al_id | Alert Id | |
emsg | This will be present only in case of errors.That is : 1) Invalid Input 2) Session Expired |
Sample Success Response :
{
"request_time":"11:22:26 08-04-2021",
"stat":"Oi created",
“al_id”:”21040800000004”
}
Sample Failure Response :
{
"stat":"Not_Ok",
"emsg":"Session Expired : Invalid Session Key"
}